package com.itheima.adapter_review;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @program: design
 * @description:
 * @author: zhanghz001
 * @create: 2021-02-27 10:35
 **/
public class AdapterTest {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context =
                new ClassPathXmlApplicationContext("spring-adapter_review.xml");
        PunchCard proxyBean = (PunchCard) context.getBean("proxyBean");
        proxyBean.info("张三");
    }
}
